import request from '@/utils/request'



export function getArticle(data) {
    return request({
        url: '/media/manager/get/article/list',
        method: 'post',
        data
    })
}



export function getArticleInfo(data) {
    return request({
        url: '/media/web/article/by/id',
        method: 'post',
        data
    })
}


export function downUpArticle(data) {
    return request({
        url: '/media/manager/article/downUp/shelf',
        method: 'post',
        data
    })
}



export function getCaseList(data) {
    return request({
        url: '/media/manager/get/case/list',
        method: 'post',
        data
    })
}


export function downUpCase(data) {
    return request({
        url: '/media/manager/case/downUp/shelf',
        method: 'post',
        data
    })
}



export function getCaseInfo(data) {
    return request({
        url: '/media/web/case/by/id',
        method: 'post',
        data
    })
}